package org.rkuk.kasutil.test.event 
{
	import flash.events.Event;
	import flash.events.EventDispatcher;
	
	/**
	 * ...
	 * @author rkuk
	 */
	public class AnsyTimeoutEvent extends Event 
	{
		public static const TIMEOUT:String = "timeout";
		
		private var ansyEventTarget_:EventDispatcher;
		private var ansyEventType_:String;
		private var ansyEventTimeout_:int;
		
		public function AnsyTimeoutEvent(ansyEventTarget:EventDispatcher,ansyEventType:String,ansyEventTimeout:int) 
		{ 
			super(TIMEOUT);
			ansyEventTarget_ = ansyEventTarget;
			ansyEventType_ = ansyEventType;
			ansyEventTimeout_ = ansyEventTimeout;
		} 
		
		public override function clone():Event 
		{ 
			return new AnsyTimeoutEvent(ansyEventTarget_, ansyEventType_, ansyEventTimeout_);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("AnsyTimeoutEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
		public function get ansyEventTarget():EventDispatcher 
		{
			return ansyEventTarget_;
		}
		
		public function get ansyEventType():String 
		{
			return ansyEventType_;
		}
		
		public function get ansyEventTimeout():int 
		{
			return ansyEventTimeout_;
		}
	}
}